package com.zhoujing.cinema.constants;

/**
 * Author:helloboy
 * Date:2019-10-15 10:52
 * Description:<描述>
 */
public class Constant {

    //当前页:默认第一页
    public static  final int PAGE_NUM=1;

    //每页显示的条目数,默认5条
    public static final int PAGE_SIZE=5;

    //响应状态码  1--->成功
    public static  final  int RESPONSE_STATUS_SUCCESS=1;

    //响应状态码  2--->失败
    public static  final  int RESPONSE_STATUS_FAILURE=2;

    //响应状态码  3--->未授权
    public static  final  int RESPONSE_NO_PERMISSION=3;


    //商品类型的启用:1表示启用
    public static final int PRODUCT_TYPE_ENABLE=1;

    //商品类型的启用:2表示禁用
    public static final int PRODUCT_TYPE_DISABLE=0;

    //缓存的验证码的key
    public static final String CheckCode = "code";

    //redis的密码
    public  static  final  String REDIS_PASSWORD = "ywj123";

    //前台条目数
    public static final int FRONT_PAGE_SIZE = 8;
}
